<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%-- <%@include file="../../common/taglib/taglib.jsp"%> --%>
<form id="pagerForm" method="post" action="${baseURL }/pay/way/list">
	<%@include file="../common/pageParameter.jsp"%>
</form>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="${baseURL }/account/detailList?userNo=${rpUserInfo.userNo}" method="post">
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td>
						商户名称：${rpUserInfo.userName}
					</td>
					<td>
						账户余额：<font color="blue"><fmt:formatNumber value="${rpAccount.availableBalance}" pattern="0.00" /></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						冻结金额：<font color="red"><fmt:formatNumber value="${rpAccount.unbalance}" pattern="0.00" /></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						可结算金额：<font color="blue"><fmt:formatNumber value="${rpAccount.availableSettAmount}" pattern="0.00" /></font>
					</td>
					<td>

						<div class="buttonActive">
							<div class="buttonContent">
								<button title="查询" type="submit">查&nbsp;询</button>
							</div>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</form>
</div>
<div class="pageContent">
	<table class="table" width="101%" layoutH="109">
		<thead>
		<tr>
			<th width="5%">序号</th>
			<th width="15%">银行名称</th>
			<th width="15%">款项名称</th>
			<th width="10%">余额</th>
			<shiro:hasPermission name="account:accountInfo:offLineProxyPay">
				<th width="10%">操作</th>
			</shiro:hasPermission>
		</tr>
		</thead>
		<tbody>
		<c:forEach var="item" items="${listT1SettAmount}" varStatus="s">
			<tr>
				<td>${s.index + 1}</td>
				<td><b>
					<c:forEach var="bankWayItem" items="${BankWayEnums}">
						<c:if test="${bankWayItem.name == item.bankWayCode}">${bankWayItem.desc}</c:if>
					</c:forEach>
				</b></td>
				<td><b>${item.payWayName }T1可结算余额</b></td>
				<td><a class="pull-right">¥<fmt:formatNumber value="${item.t1SettAmount }" pattern="0.00" /></a></td>
				<shiro:hasPermission name="account:accountInfo:offLineProxyPay">
					<td>[&nbsp;<a title="${rpUserInfo.userName}手动打款" target="navTab" href="${baseURL }/account/toOffLineProxyPay/${rpUserInfo.userNo}/T1/${item.payWayCode}/${item.bankWayCode}" style="color: blue;" rel="offLineProxyPay">手动打款</a>&nbsp;]</td>
				</shiro:hasPermission>
			</tr>
		</c:forEach>
		<c:forEach var="item" items="${listT0SettAmount}" varStatus="s">
			<tr>
				<td>${s.index + 1}</td>
				<td><b>
					<c:forEach var="bankWayItem" items="${BankWayEnums}">
						<c:if test="${bankWayItem.name == item.bankWayCode}">${bankWayItem.desc}</c:if>
					</c:forEach>
				</b></td>
				<td><b>${item.payWayName }T0可结算余额</b></td>
				<td><a class="pull-right">¥<fmt:formatNumber value="${item.t0SettAmount }" pattern="0.00" /></a></td>
				<shiro:hasPermission name="account:accountInfo:offLineProxyPay">
					<td>[&nbsp;<a title="${rpUserInfo.userName}手动打款" target="navTab" href="${baseURL }/account/toOffLineProxyPay/${rpUserInfo.userNo}/T0/${item.payWayCode}/${item.bankWayCode}" style="color: blue;" rel="offLineProxyPay">手动打款</a>&nbsp;]</td>
				</shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<%@include file="../common/pageBar.jsp"%>
</div>
